// 导入组件
const Layout = () => import('@/layout/index.vue')
const compilations = () => import('@/views/compilation/compilations.vue')
const survey = () => import('@/views/compilation/survey.vue')
const option = () => import('@/views/compilation/option.vue')
const heart = () => import('@/views/compilation/heart.vue')
const movement = () => import('@/views/compilation/movement.vue')
const manage = ()=> import('@/views/compilation/manage.vue')
const moption = ()=> import('@/views/compilation/moption.vue')
const video = ()=> import('@/views/compilation/video.vue')
const restoratives = ()=> import('@/views/compilation/restoratives.vue')
// 导出该组件

// ,{
//     path: '/survey',
//     name: 'survey',
//     component: survey,
//     meta: {
//         title: '问卷调查',
//     },
//     hidden: false
// }
//
export default([
    {
        path: "/compilation",
        component: Layout,
        name: 'compilation',
        meta: {
            title: '基础管理',
        },
        icon: 'Location',
        children: [
            {
                path: '/compilations',
                name: 'compilations',
                component: compilations,
                meta: {
                    title: '病例类型',
                },
                hidden: false
            },{
                path: '/option',
                name: 'option',
                component: option,
                meta: {
                    title: '饮食方案',
                },
                hidden: false
            },{
                path: '/heart',
                name: 'heart',
                component: heart,
                meta: {
                    title: '心理方案',
                },
                hidden: false
            },{
                path: '/moption',
                name: 'moption',
                component: moption,
                meta: {
                    title: '运动方案',
                },
                hidden: false
            },{
                path: '/movement',
                name: 'movement',
                component: movement,
                meta: {
                    title: '运动管理',
                },
                hidden: false
            },{
                path: '/manage',
                name: 'manage',
                component: manage,
                meta: {
                    title: '饮食管理',
                },
                hidden: false
            },{
                path: '/video',
                name: 'video',
                component: video,
                meta: {
                    title: '视频管理',
                },
                hidden: false
            },{
                path: '/restoratives',
                name: 'restoratives',
                component: restoratives,
                meta: {
                    title: '药品管理',
                },
                hidden: false
            },
        ]
    }
])